Make sure the paper dialog is destroyed with the parent
authorPaolo Borelli <pborelli@gnome.org>
Mon, 31 Aug 2009 19:56:14 +0000 (21:56 +0200)
committerPaolo Borelli <pborelli@gnome.org>
Mon, 31 Aug 2009 19:56:14 +0000 (21:56 +0200)
gtk/gtkcustompaperunixdialog.c

index 972ab1640bb23c52d31ddf87fb18ea4faf404387..7813b58fc75773cf8eed55a82671064d19a3c775 100644 (file)
@@ -381,6 +381,7 @@ _gtk_custom_paper_unix_dialog_new (GtkWindow   *parent,
     {
       gtk_window_set_modal (GTK_WINDOW (result), TRUE);
       gtk_window_set_transient_for (GTK_WINDOW (result), parent);
+      gtk_window_set_destroy_with_parent (GTK_WINDOW (result), TRUE);
     }
 
   return result;